if status is-interactive
    # Commands to run in interactive sessions can go here
end

set -x EDITOR $(which nvim)
set -x LANG zh_CN.UTF-8
set -x GOPATH $HOME/.go
set -x BC_ENV_ARGS "$HOME/.config/bc/bc.conf"

if test -f /opt/anaconda/etc/fish/conf.d/conda.fish
    source /opt/anaconda/etc/fish/conf.d/conda.fish
end

if test -f $HOME/.config/bc/bc.conf
    set -x PATH $HOME/.local/bin $PATH
end

starship init fish | source
